/**
 * This Class will store the names value into String Variable and print it using For Each Loop
 * 
 * @author Ravi
 *
 */

public class StringArrayDemo {

 
 public static void main(String[] args) {
  String[] studentName = new String[5];
  studentName[0] = "Ravi";
  studentName[1] = "Henry";
  studentName[2] = "Raji";
  studentName[3] = "Peng";
  studentName[4] = "Sushil";

  System.out.println("Today's class attendies");
  System.out.println("-----------------------");
  for(String name : studentName){ 
   System.out.println(name);
  }
 }

}